/*
 * @Author: zhangyang
 * @Date: 2022-06-12 15:00:27
 * @LastEditTime: 2022-06-12 15:15:56
 * @Description: 
 */
const shelljs = require('shelljs');

shelljs.exec('vue-tsc --noEmit && vite build');

shelljs.cp('./src.txt', './dist/src.txt');
shelljs.mkdir('./dist/core');
shelljs.cp('./core/srcParse.js', './dist/core/srcParse.js');
shelljs.cp('./main.js', './dist/main.js');
shelljs.cp('./preload.js', './dist/preload.js');